﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lilium.Web.Mvc;
using System.Web.Mvc;
using System.Web.Routing;

namespace Lilium.Web.Mvc.Context
{
	/// <summary>
	/// Provides access to current action context.
	/// </summary>
	public interface IActionContextService
	{
		/// <summary>
		/// Sets action context of currently executing action.
		/// </summary>
		/// <param name="filterContext"></param>
		void SetActionContext(ActionExecutingContext filterContext);

		/// <summary>
		/// Returns route value dictionary with current route values and action parametes.
		/// </summary>
		/// <returns></returns>
		RouteValueDictionary GetCombinedRouteValues();
	}
}